package com.huyandroid.AccountMonitor1;

public class Exchange {
	///private variables
	//int _id;  is it necessary???
	String _exchange;
	String _balance;
	String _time;
	String _place;
	///constructor
	public Exchange(){
		
	}
	/*public Exchange(int id,int b,int e, String t, String p){
		this._id=id;
		this._balance=b;
		this._exchange=e;
		this._time=t;
		this._place=p;
	}*/
	public Exchange(String e,String b, String t, String p){
		//this._id=0;
		this._balance=b;
		this._exchange=e;
		this._time=t;
		this._place=p;
	}
	///set functions
	public void setBalance(String b){
		this._balance=b;
	}
	public void setExchange(String e){
		this._exchange=e;
	}
	public void setTime(String t){
		this._time=t;
	}
	public void setPlace(String p){
		this._place=p;
	}
	///get function
	public String getBalance(){
		return this._balance;
	}
	public String getExchange(){
		return this._exchange;
	}
	public String getTime(){
		return this._time;
	}
	public String getPlace(){
		return this._place;
	}
}
